<template>
  <div class="mv">
    <!-- 播放时间 播放数量  图片 -->
    <div class="count_img_time">
      <div class="img">
        <img :src="f1.imgurl16v9" alt="" />
      </div>
      <div class="play_count">
        <div class="img">
          <img src="../assets/images/play_count_icon.png" alt="" />
        </div>
        <div class="count">{{ f1.playCount }}</div>
      </div>
      <div class="play_time">{{ f1.duration }}</div>
    </div>
    <div class="desc">
      <span v-html="f1.name"></span>
    </div>

    <slot name="dy_name">
      
    </slot>

  </div>
</template>

<script>
export default {
  name: "Mv",
  props: {
    f1: {
      type: Object,
      default: () => {},
    },
  },
};
</script>

<style lang="less" scoped>
.mv {
  width: 100%;
  .count_img_time {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    .img {
      width: 100%;
      max-height: 175px;
      overflow: hidden;
      img {
        width: 100%;
        
        cursor: pointer;
      }
    }
    .play_count {
      position: absolute;
      top: 10px;
      right: 10px;
      display: flex;
      align-items: center;
      cursor: default;
      .img{
        width: 20px;
      }

      .count {
        color: #fff;
        text-shadow: 0 0 3px #ccc;
      }
    }
    .play_time {
      cursor: default;
      position: absolute;
      bottom: 10px;
      right: 10px;
      color: #fff;
      text-shadow: 0 0 3px #ccc;
    }
  }
  .desc {
    width: 290px;
    margin-top: 10px;
    span {
        display: inline-block;
        width: 100%;
      color: #555;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      cursor: pointer;
      &:hover {
        color: #000;
      }
    }
  }
  .dy_name{
    color: #ccc;
    font-size: 14px;
  }
}
</style>:=